Data Visualisation Coursework: The World Happiness Report

Load the packages and the data

The data

Source: https://www.kaggle.com/unsdsn/world-happiness (2015-2019) datasets. Source: https://www.kaggle.com/londeen/world-happiness-report-2020 (2020) dataset. Source: https://www.kaggle.com/ajaypalsinghlo/world-happiness-report-2021 (2021) dataset.

This data is combined data from the 2015-2021 reports.

Statistical Analysis

These basic descriptive tables suggest several key findings:

The maximum level of happiness has increased in 2021 compared to 2015.

In contrast, the minimum level of happiness has decreased in 2021 compared to 2015. It can be concluded that the minimum levels have been decreasing from 2018-2021.

However, the average happiness score across all regions is higher in 2021 than in 2015 which suggests that people are more happy.

Next, statistical tests will be conducted on a small selection of regions to determine if there is a difference between the average happiness score for regions within the same continent

The statistical tests conducted above suggest at alpha = 0.05 that there are significant differences between the happiness scores of different regions within continents.

Visualisation 1 - How does the maximum level of happiness compare over time?

Are there differences between regions?

Visualisation 2 - Health and Happiness

When this visualisation is produced, all scatter plots appear on the screen. To view the overall scatter plot showing the data for both years, click the overall button. To be able to see the seperate scatter plots for each year, select the year.

The Health contribution represents the significance of health to happiness.